Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

228
Vistas
Facing problem in "DOMContentLoaded" in jquery. without this jqgrid is loading , when adding this "DOMContentLoaded" not loading

Facing problem in "DOMContentLoaded" in jquery. without this jqgrid is loading , when adding this "DOMContentLoaded" not loading

document.addEventListener("DOMContentLoaded", function() {
  $("#table").jqGrid({
    url: ROOT + 'PCM/DataToDisplayPCM',
    datatype: "JSON",
    height: 'auto',
    rowNum: 10,
    rowList: [10, 20, 30],
    colModel: [{
      name: 'ProdPriority',
      label: 'Priority',
      index: 'ProdPriority',
      width: 50
    }, {
      name: 'ProductCode',
      label: 'Product Code',
      index: 'ProductCode',
      width: 80
    }, {
      name: 'ProductName',
      label: 'Product Name',
      index: 'ProductName',
      width: 200
    }, {
      name: 'DIV',
      label: 'Division',
      index: 'Division',
      width: 60
    }, {
      name: 'Category',
      label: 'Categary',
      index: 'Category',
      width: 150
    }, {
      name: 'SubCategory',
      label: 'SubCategary',
      index: 'SubCategory',
      width: 150
    }, {
      name: 'Priority_1',
      label: 'Priority_1',
      index: 'Priority_1',
      width: 80
    }, {
      name: 'Priority1per',
      label: 'Priority_1%',
      index: 'Priority1per',
      width: 80
    }, {
      name: 'Priority_2',
      label: 'Priority_2',
      index: 'Priority_2',
      width: 80
    }, {
      name: 'Priority2per',
      label: 'Priority_2%',
      index: 'Priority2per',
      width: 80
    }, {
      name: 'Priority_3',
      label: 'Priority_3',
      index: 'Priority_3',
      width: 80
    }, {
      name: 'Priority3per',
      label: 'Priority_3%',
      index: 'Priority3per',
      width: 80
    }, ],
    pager: "#prowed1",
    sortname: 'P_CODE',
    viewrecords: true,
    sortorder: "desc"
  });
  
  jQuery("#table").jqGrid('navGrid', "#prowed1", {
    edit: false,
    add: false,
    del: false
  });
});

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda